//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
                 
#include "info.h"
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------


void __fastcall TForm1::FormCreate(TObject *Sender)
{
struct LOAN
{
	AnsiString itemName;
	bool returned; // true if item already returned, false if it not.
};

struct PURCHASE
{
	AnsiString itemName;
	int amount;
	int price;
};
DetailInfo detail;
PURCASE p[30];
LOAN l[20];
}
//---------------------------------------------------------------------------

